<%@ Register TagPrefix="dammela" Namespace="whole" Assembly = "dammela" %>
<%@ Page Language="C#" validateRequest="false" Description="Homepage" debug="false" EnableViewState="false"%>
<%@ Import Namespace="whole"%>
<%@ Import Namespace="dammelau"%>

<html>
<head>
<LINK type="text/css" rel="stylesheet" href="/main.css">
<SCRIPT LANGUAGE="JavaScript" SRC="/jscripts/CalendarPopup.js"></SCRIPT>
<script language="JavaScript" src="/jscripts/ajax.venues.js"></script>
<meta http-equiv="Content-Type" Content="text/html; charset=UTF-8">
<title id="title" runat=server></title>

<SCRIPT LANGUAGE="JavaScript">document.write(getCalendarStyles());</SCRIPT>

<%
	usrUtil usru = new    usrUtil(Page);

	if( usru.HTMLenabled  ) {
		Response.Write("<!-- tinyMCE -->");
		Response.Write("<script language='javascript' type='text/javascript' src='../jscripts/tiny_mce/tiny_mce.js'></script>");

		Response.Write("<script language='javascript' type='text/javascript'>");
		Response.Write("	// Notice: The simple theme does not use all options some of them are limited to the advanced theme");
		Response.Write("\n");
		Response.Write("	tinyMCE.init({");
		Response.Write("		content_css : '/custom_content.css',");
		Response.Write("		mode : 'specific_textareas',");
		Response.Write("		textarea_trigger : 'convert_this',");
		Response.Write("		theme : 'advanced',");
		Response.Write("		entity_encoding : 'raw',");
		Response.Write("		theme_advanced_toolbar_location : 'top',");
		Response.Write("		ask : false,");
		Response.Write("		language : 'it',");
		Response.Write("		button_tile_map : true,");
		Response.Write("		theme_advanced_layout_manager : 'SimpleLayout',");
		Response.Write("		theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,undo,redo,link,unlink,code,separator,image',");
		Response.Write("		theme_advanced_buttons2 : '',");
		Response.Write("		theme_advanced_buttons3 : '',");
		Response.Write("		auto_focus : 'mce_editor_0',");
		Response.Write("		force_br_newlines : true");
		Response.Write("	});");
		Response.Write("</script>");
		Response.Write("<!-- /tinyMCE -->");
	}
		
%>

<dammela:scripts ID="Scripts1" runat="server"/></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<div class="Pbox" width="100%">
<dammela:menuBanner runat="server"/>
</div>

<table align="center" class="body" border="0" cellspacing="10" cellpadding="0" width="760px">
<tr><td valign="top" width="150px">
<div style="width:150px;">
<dammela:login ID="Login1" 
    xml="/login/login.xml"
    xsl="/login/login.xsl"
    kind="FREAKMEUP"
    runat="server"/>
</div>
<img height="10" src="/imgs/spacer.gif"/>
<dammela:cerca look="HOME" runat=server/>

</td>
<td valign="top" align="left">
<dammela:activity action="EDIT" runat=server/>
</td>
</tr>

</table>
<div style="width:100%;">
<dammela:footer runat="server"/>
</div>

</body>
</html>
